import global from './global'
export default {
    install: function (Vue) {
        let isInWechat = global.isWeixin()
        Vue.mixin({
            data() {
                return {
                    isInWechat
                }
            },
            methods: {
                isEmptyObject: global.isEmptyObject,
                encodeUrl: global.encodeUrl
            }
        })
    }
}